package com.css.dzj.zfjg.modules.feedbackrelate.Service;


import com.css.dzj.zfjg.modules.feedbackrelate.entity.JgLhjgRwfkglEntity;
import com.querydsl.core.QueryResults;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 联合监管任务反馈关联表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-11-27 17:23:15
 */
public interface JgLhjgRwfkglService{

    QueryResults<JgLhjgRwfkglEntity> queryPage(Pageable pageable);
    List<JgLhjgRwfkglEntity> findListByTaskNo(String taskNo, String superviseItemCode);
    JgLhjgRwfkglEntity getById(String taskno);
    String save(JgLhjgRwfkglEntity jgLhjgRwfkgl);
    JgLhjgRwfkglEntity findOneByTaskNo(String taskNo, String superviseItemCode,String uuid);

    /**
     * 通过任务编码删除任务关联表和行为信息表
     * @param taskNo
     */
    void deleteFkglAndActionByTaskNo(String taskNo);


    /**
     * 物理删除反馈关联表
     * @param jgLhjgRwfkglEntity
     */
    void delete(JgLhjgRwfkglEntity jgLhjgRwfkglEntity);
}

